package com.xuecheng.content.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author 勾新杰
 * @version 1.0
 * @description 课程计划媒资绑定请求参数
 * @date 2023/2/27 16:02
 */
@Data
@ApiModel(description = "教学计划-媒资绑定提交数据")
public class BindTeachPlanMediaDTO {

    /**
     * 媒资文件id
     */
    @ApiModelProperty(value = "媒资文件id", required = true)
    @NotEmpty(message = "媒资文件id不能为空")
    private String mediaId;

    /**
     * 媒资文件名称
     */
    @ApiModelProperty(value = "媒资文件名称", required = true)
    @NotEmpty(message = "媒资文件名称不能为空")
    private String fileName;

    /**
     * 课程计划标识
     */
    @ApiModelProperty(value = "课程计划标识", required = true)
    @NotNull(message = "课程计划标识不能为空")
    private Long teachplanId;
}
